﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using WenDangOne.DbModel.BaseInfoManager;
using WenDangOne.ViewModel.BaseInfoManagerView;
using WenDangOne.ViewModel.common;

namespace LianChuDemo.IDal.BaseInfoManagerDal
{
    public interface IAdminUserDal
    {
        PagerResult<AdminUser> SearchPage(SearchModel searchModel);

        bool AdminUserAdd(AdminUserView view);
        AdminUser GetAdminUserByUserName(string userName);
        AdminUserView GetAdminUserViewByUserName(string userName);

        bool AdminUserUpdate(AdminUserView view);
        bool AdminUserPwdUpdate(string pwd, string userName);

    }
}
